SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b5ec78fd04fb57f7eced2d89c92510a3cbe4d948490f2e74769207df1d56139' 
  AND token = 'T0bfM7pJmzpezNa88zAg0u2YVGBtWg8XcJTI6zUbpiQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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