SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6594f7d953bf19a6357a5e7bba633861cf0295682a57e9ba23284201489fffd6' 
  AND token = 'Y1h1kVxYFO0NqLOcIFUy0St6yUSsiQnMUmATiYg2C3Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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