SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dfc1207ea49ee389d457c13868d48ae0cdb0a5da7c2a002e30b3df4c2aaf05f1' 
  AND token = 'q6wlOvrF3jCSlgB+HnCGaf25zUSfnJzp3uzOMB6zks4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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