SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4e31d546eeb02e39161b12cb272c1cf5cbd4bdebe45b95b24ee457b79f2002a1' 
  AND token = 'nVSIGp8mooQpxSw5YjwEa22rSnCOrQQC447hAH5wono=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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