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

Query time 0.00035

JSON explain

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