SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d629d0ab36535c47993784bc1c341d1d67e2d4904a279c9ee8bc033fbf22af5' 
  AND token = 'i/bP6gyirSGZPax1xuXn/ajSX7i/1A0YgggR0nRbnWY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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