SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c87ee2e386d9faefa71c076b8e62afaf342ea628567e8a27792800a1b06e48ce' 
  AND token = 'bsSRwMlzX3hbpPcOBqF95hmTx2ssNhnQly9eyOSGcA0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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