SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5c7ae5aca6ab1be249dcc829c2bc773b65b607452d4401e2df3f4c2ee2191bd' 
  AND token = '7rSm3fm3cduMCV31jume7tgxkbTuGpOA+Lq78Jc23JE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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