SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ee1ddeb7d6bf59dae44f48e816a428c172a0a70a42517a830cab340d8c2761eb' 
  AND token = 'xwawtYCO/t2F+BDALN+yY4+ND/HBEVqvKHJ+N9D3Cug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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