SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b2cd82458ffeb54c4e69ac5eb0f48bed99df54113b77719b705f58d971707dfb' 
  AND token = 'n8cKuSKFf9/Aiy2YUt+RahG80S30BMFWZ7h+wmxKNV4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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