SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '15a860a3fd73b298a61025d0ace785a3c32ecf29a63e8d6322c58568735ba5b8' 
  AND token = 'a4raUUXww1QSc2ozXun4OJ2EWc3iVROZX8SBhcnSf3A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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