SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '683dd8218ee80636563af32a257c9f480782f348dd006c7356527f5fd9046b6b' 
  AND token = 'p/iKaIbJOh/gcb1BN824gWJZ3C4mjp6Pc6GG58LMAgE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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