SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd178e46d09d3233b4cd43cdd91041f4ddfc8937dda46711e1ee58d126f002c4f' 
  AND token = 'a0M+yJQc+xh4zw0CaN5LwekeoImkVgUkkcnLqJG3A2M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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