SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2545180020b51773e3cd8d45253ea057573c1f97b74428f0940083d965c793b3' 
  AND token = 'rJcXUH7vgK4w9L7leZXAyPSQPxua2omgiqtQSLPfwgc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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