SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e79efb58d016f00ac4a1af26881043cb17a6cb91486083d657877b55c3ce516' 
  AND token = 'CmbOPX1FKH7UrvqP7nnV86Oh4Bn+RakBEl6peSdeSf0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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