SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0d4991b21724dff275ea35c131cddadbadc8177e2cb365cd4bddaf831d179c3' 
  AND token = 'e1TeWRmmZ/GLLVcel9x7outSti9EmZQqVEIygdx31L8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}