SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b4ad4fcf27f02128cd26cb047ad0b22a41549d3922b6e9306dbd47623415f201' 
  AND token = 'ikyRT60ba+eEteBBuf+Sw2vU9O8YkX+K/jef/LZ4i/8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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