SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f9232a3247b5f165f47fa4255798810847b9efe4626c3e6aaa7bd8a3817444f' 
  AND token = 'Om7wQsVf4cJfgKyiJBddMEceiljRdk9TmNWP4A+EebU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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