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

Query time 0.00018

JSON explain

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