SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '148dc32b54330e4b35d78baff8797fb0069cd2ac83e655eba103598c5d70cca4' 
  AND token = 'KlmyWDcjp71olWtmXS2PYGJwu3DkhpyscEfu8XaP8O4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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