SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ace6a03f71fc4ff17cba777bb1139bb149f4dbb042644f030598d843e2f01a26' 
  AND token = 'h7tUApzOwWF3nlNY1jUK0zdNzwjfk596KwdtOKUkFIs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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