SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d5c9fb797fe5208ec7c6f9474d8329064ef212b6758e9812f7623d1ba3f27eb' 
  AND token = 'dkmegOdvg53KyahiqcMrLy19iyoJgFSHIA1M6KLKDjg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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