SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1f18be1f08c27f4ce75f5de01e3aa3e5b7e668961b4ed53c37c246fec37aaf1' 
  AND token = 'Uzsx4ytFGIA5p4dt3Ojx8ZjfnWnB6ucoSAuRkGFKGoU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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