SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf7056e824283b9c6a5785427980837122b1372fd9089ca949cc1a99f1928246' 
  AND token = 'TQNAWKmPgjb9VfpNh/Pg+uYVv9fTPcQ80kzLv3F+8Ek=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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