SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e7cf62b0c0bc2d63ae456ea64a1a7abe9f5eddf9afdd048f0cfb305196cc213' 
  AND token = 'B/2t3d8lIr7n/7mJLGpKRe8V38l0QY8AgP+7ZUcrNi0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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