SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '995dc8ab43ea7ea17bc76d6951971026e2733ec8021c6045de9a10e070cd9240' 
  AND token = '5GtbHTZdXcmRiQteShpbdlO2QteMg46zB2GmsXc4elg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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