SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23867b0f4950cec222452040bdbf626dbb9d8ca09efb7b7acef2a5a7249545ad' 
  AND token = 't64jUygbwYaD3omtB3wjy/9bvSRquz3GLMbWuqltPd4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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