SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '755e6a3e11d1287571c76667c5550f19828a19403d80a023d7381efe6bad0847' 
  AND token = 'coKBDxXq2ZguD9DhG6YVIaaufT7vdrG9X+AcgfFwzD4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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