SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0afdf9110e2dcc6823f646096a0dce84e396da175558fc004b81932c9ba96db9' 
  AND token = 'VxXDQ9ZC7fJ4X2GcwEwhLNcwHfXEWz4h59xE4f/t3oI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}